<include file="./Public/header.html" />

<aside>
        <div class="avatar">
            <a href="/"><span style="color: #31C135">帅</span></a>
        </div>
        <section class="topspaceinfo">
            <h1 style="font-family: 微软雅黑">每天进步一点<br> &nbsp;&nbsp;用科技改变生活</h1>
            <p>>>>>>>>>>>>>>>宇杰<<<<<<<<<<<<<<<</p>
        </section>
        <div class="userinfo">
            <p class="q-fans"> 粉丝<a href="/" target="_blank">0</a></p>
            <p class="btns"><a href="/" target="_blank" >私信</a><a href="/" target="_blank">相册</a><a href="/" target="_blank">存档</a></p>
        </div>

        <section id="taglist" class="taglist">
            <h2>全部标签</h2>
            <ul>
                <!-- 标签列表 -->
            </ul>
        </section>

    <section class="taglist">
        <h2>友情链接</h2>
        <ul>
            <li>
                <a href="http://www.80soho.com/" target="_blank">斜杠猿日志</a>
            </li>
        </ul>
    </section>

    </aside>
    <div class="blogitem">
        <div id="div_art">


        </div>
        <div class="pages">

        </div>
    </div>
<include file="Public/footer.html" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
    $(function(){
        $.ajax({
            url:"{:U('Home/Article/articleList')}",
            type:'post',
            data:{
                p:{$p},
                mo:{$mo}
            },
            success:function(data){
                $.each(data.article,function(i,n){
                    var ht = '<article>' +'<h2 class="title"><a href="'+ n.href+'">'+ n.title+'</a></h2>'
                            +'<ul class="text">'+ n.content+'</ul>'+
                            '<div class="textfoot"> <a href="'+ n.href+'">阅读全文</a><a href="/">评论</a><a href="/">转载</a></div>'
                            + '</article>'
                    $('#div_art').append(ht);
                });
                $.each(data.tag,function(k,v){
                    var tab_list = '<li><a href="'+ v.href+'">'+ v.tag_name+'</a></li>';
                    $('#taglist ul').append(tab_list);
                });
                $('.pages').append(data.pagination);
            }
        })
    })
</script>
